package com.ls.controller.customer.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @ClassName RegisteOrLoginModel
 * @Description APP用户密码登录model
 * @Author pengyu
 * @Date 2024/6/27 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AppLoginModel {

    /**
     * 手机号码(收验证码时用到)
     */
    @NotBlank(message = "手机号码不得为空")
    private String phone;

    /**
     * 短信验证码
     */
    @NotBlank(message = "密码不得为空")
    private String password;

}
